﻿#include "User.h"

#include "TcpCodec.h"

User::User() : QObject()
{

}

User::User(const User& user)
{
  setUserId(user.getUserId());
}

User::~User()
{}

uint User::getUserId()const
{
  return userId;
}

User* User::setUserId(const uint userId)
{
  this->userId=userId;
  return this;
}
